
<h1>Type components in <code>ngComponentRouter</code></h1>



<div class="component-breakdown">
  <div>
    <table class="definition-table">
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
      
      <tr>
        <td><a href="api/ngComponentRouter/type/Router">Router</a></td>
        <td><p>A <code>Router</code> is responsible for mapping URLs to components.</p>
</td>
      </tr>
      
      <tr>
        <td><a href="api/ngComponentRouter/type/ChildRouter">ChildRouter</a></td>
        <td><p>This type extends the <a href="api/ngComponentRouter/type/Router"><code>Router</code></a>.</p>
</td>
      </tr>
      
      <tr>
        <td><a href="api/ngComponentRouter/type/RootRouter">RootRouter</a></td>
        <td><p>This type extends the <a href="api/ngComponentRouter/type/Router"><code>Router</code></a>.</p>
</td>
      </tr>
      
      <tr>
        <td><a href="api/ngComponentRouter/type/ComponentInstruction">ComponentInstruction</a></td>
        <td><p>A <code>ComponentInstruction</code> represents the route state for a single component. An <code>Instruction</code> is
composed of a tree of these <code>ComponentInstruction</code>s.</p>
</td>
      </tr>
      
      <tr>
        <td><a href="api/ngComponentRouter/type/RouteDefinition">RouteDefinition</a></td>
        <td><p>Each item in the <strong>RouteConfig</strong> for a <strong>Routing Component</strong> is an instance of
this type. It can have the following properties:</p>
</td>
      </tr>
      
      <tr>
        <td><a href="api/ngComponentRouter/type/RouteParams">RouteParams</a></td>
        <td><p>A map of parameters for a given route, passed as part of the <a href="api/ngComponentRouter/type/ComponentInstruction"><code>ComponentInstruction</code></a> to
the Lifecycle Hooks, such as <code>$routerOnActivate</code> and <code>$routerOnDeactivate</code>.</p>
</td>
      </tr>
      
    </table>
  </div>
</div>

